package com.cn.wanxi.service;

import com.cn.wanxi.model.CompanyModel;

import java.util.List;

public interface ICompanyService {

    //所有的接口层都是对对象的增删查改CURD
    int add(CompanyModel companyModel);
    int update(CompanyModel companyModel);
    int del(CompanyModel companyModel);
    List<CompanyModel> findAll();
    CompanyModel findById(CompanyModel companyModel);
    //更具搜索条件进行查询
    List<CompanyModel> findBySome(CompanyModel companyModel);
}
